<?php
    require('./Utils.php');

    $conn = getConnection();
    $sql = "SELECT id,image FROM carousel";

    $data = query_list($conn,$sql);

    getJson(200, '获取成功', $data);

?>